package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地区信息对象 iwebshop_areas
 *
 * @author gf
 * @date 2024-11-26
 */
public class IwebshopAreas extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer areaId;

    /** 上一级的id值 */
    @Excel(name = "上一级的id值")
    private Integer parentId;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String areaName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /**  */
    @Excel(name = "")
    private String pinyin;

    /**  */
    @Excel(name = "")
    private String lat;

    /**  */
    @Excel(name = "")
    private String lng;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private Integer isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    public void setAreaId(Integer areaId)
    {
        this.areaId = areaId;
    }

    public Integer getAreaId()
    {
        return areaId;
    }
    public void setParentId(Integer parentId)
    {
        this.parentId = parentId;
    }

    public Integer getParentId()
    {
        return parentId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setPinyin(String pinyin)
    {
        this.pinyin = pinyin;
    }

    public String getPinyin()
    {
        return pinyin;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }
    public void setLng(String lng)
    {
        this.lng = lng;
    }

    public String getLng()
    {
        return lng;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }
    public void setIsShow(Integer isShow)
    {
        this.isShow = isShow;
    }

    public Integer getIsShow()
    {
        return isShow;
    }
    public void setNumSoft(Integer numSoft)
    {
        this.numSoft = numSoft;
    }

    public Integer getNumSoft()
    {
        return numSoft;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("parentId", getParentId())
            .append("areaName", getAreaName())
            .append("sort", getSort())
            .append("pinyin", getPinyin())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
